home *** CD-ROM | disk | FTP | other *** search
/ Boot Disc 13 / boot-disc-1997-09.iso / HyprWire / DATA.Z / 04 SystemModule.mdf < prev    next >
Text File  |  1997-01-16  |  11KB  |  416 lines

  1. kxKinetix
  2. kxType = kxSmalltalkJavaPlugIn
  3.  
  4. kxModuleDefinition SystemModule = 
  5.   {
  6.   kxPublicName = "System Module"
  7.   kxVersion = "1.0"
  8.   kxCreationTime = "02/19/96  09:48:15 AM"
  9.   kxAuthor = "Kinetix"
  10.   kxLargeIcon = kxBmResType "ModIcons.dll" "SYSINFO2" 0xFF00FF
  11.   kxSmallIcon = kxBmResType "ModIcons.dll" "SYSINFO1" 0xFF00FF
  12.   kxSmalltalkProxyClass = SystemAttributeBundle
  13.   kxShortDescription = "Supplies general information about the client's system."
  14. //  kxHelpDoc = "http://www.hyperwire.com/helpdocs/Miscellaneoous/SystemModule/help.html"
  15.  
  16.     // The Java class which implements the plug-in...
  17.   kxPlugInClass = SystemPlugIn
  18.  
  19.     // The Smalltalk editor classes used to edit the properties of this plug-in...
  20.   kxPropertyEditors =  OpusLabelCommentEditor ModuleStateEditor PortEditor
  21.  
  22.  
  23.   kxInputPorts =
  24.     {
  25.     kxInclude "Basic.ipt"
  26.     kxInclude "Applet.ipt"
  27.  
  28.     kxPort WriteTimeStamp =
  29.       {
  30.       kxJavaMethod = wiWriteTimeStamp
  31.       kxJavaSignature = "()V"
  32.       kxPublicNames = "Write Time Stamp" "None"
  33.       }
  34.  
  35.     kxPort WriteCR =
  36.       {
  37.       kxJavaMethod = wiWriteCR
  38.       kxJavaSignature = "()V"
  39.       kxPublicNames = "Write CR" "None"
  40.       }
  41.  
  42.     kxPort WriteObject =
  43.       {
  44.       kxJavaMethod = wiWriteObject
  45.       kxJavaSignature = "(Ljava.lang.Object;)V"
  46.       kxPublicNames = "Write Module" "module" "Write Object"
  47.       }
  48.  
  49.     kxPort WriteObjectCR =
  50.       {
  51.       kxJavaMethod = wiWriteObjectCR
  52.       kxJavaSignature = "(Ljava.lang.Object;)V"
  53.       kxPublicNames = "Write Module+CR" "module" "Write Object+CR"
  54.       }
  55.  
  56.     kxPort WriteStringCR =
  57.       {
  58.       kxJavaMethod = wiWriteStringCR
  59.       kxJavaSignature = "(Ljava.lang.String;)V"
  60.       kxPublicNames = "Write String+CR" "string" "None"
  61.       }
  62.  
  63.     kxPort WriteString =
  64.       {
  65.       kxJavaMethod = wiWriteString
  66.       kxJavaSignature = "(Ljava.lang.String;)V"
  67.       kxPublicNames = "Write String" "string" "None"
  68.       }
  69.  
  70.     kxPort GetSystemMilliseconds =
  71.       {
  72.       kxJavaMethod = wiGetSystemMilliseconds
  73.       kxJavaSignature = "()J"
  74.       kxPublicNames = "Get System Time" "System Time (milliseconds)"
  75.       }
  76.  
  77.  
  78.     kxPort GarbageCollect =
  79.       {
  80.       kxJavaMethod = wiGarbageCollect
  81.       kxJavaSignature = "()V"
  82.       kxPublicNames = "Garbage Collect Now" "None"
  83.       }
  84.  
  85. //    kxPort GetProcessNames =
  86. //      {
  87. //      kxJavaMethod = wiGetProcessNames
  88. //      kxJavaSignature = "()V"
  89. //      kxPublicNames = "Get Process Names" "Not Specified"
  90. //      }
  91. //
  92. //    kxPort TerminateAll =
  93. //      {
  94. //      kxJavaMethod = wiTerminateAll
  95. //      kxJavaSignature = "()V"
  96. //      kxPublicNames = "Terminate All" "Not Specified"
  97. //      }
  98. //
  99. //    kxPort NamedProcessTerminate =
  100. //      {
  101. //      kxJavaMethod = wiNamedProcessTerminate
  102. //      kxJavaSignature = "(S)V"
  103. //      kxPublicNames = "Named Process Terminate" "process name" "Not Specified"
  104. //      }
  105. //
  106. //    kxPort TopPriorityFork =
  107. //      {
  108. //      kxJavaMethod = wiTopPriorityFork
  109. //      kxJavaSignature = "(S)V"
  110. //      kxPublicNames = "Top Priority Fork" "process name" "Not Specified"
  111. //      }
  112. //
  113. //    kxPort RealTimePriorityFork =
  114. //      {
  115. //      kxJavaMethod = wiRealTimePriorityFork
  116. //      kxJavaSignature = "(S)V"
  117. //      kxPublicNames = "Real Time Priority Fork" "process name" "Not Specified"
  118. //      }
  119. //
  120. //    kxPort HighPriorityFork =
  121. //      {
  122. //      kxJavaMethod = wiHighPriorityFork
  123. //      kxJavaSignature = "(S)V"
  124. //      kxPublicNames = "High Priority Fork" "process name" "Not Specified"
  125. //      }
  126. //
  127. //    kxPort NormalPriorityFork =
  128. //      {
  129. //      kxJavaMethod = wiNormalPriorityFork
  130. //      kxJavaSignature = "(S)V"
  131. //      kxPublicNames = "Normal Priority Fork" "process name" "Not Specified"
  132. //      }
  133. //
  134. //    kxPort LowPriorityFork =
  135. //      {
  136. //      kxJavaMethod = wiLowPriorityFork
  137. //      kxJavaSignature = "(S)V"
  138. //      kxPublicNames = "Low Priority Fork" "process name" "Not Specified"
  139. //      }
  140. //
  141. //    kxPort BackgroundPriorityFork =
  142. //      {
  143. //      kxJavaMethod = wiBackgroundPriorityFork
  144. //      kxJavaSignature = "(S)V"
  145. //      kxPublicNames = "Background Priority Fork" "process name" "Not Specified"
  146. //      }
  147. //
  148. //    kxPort IdlePriorityFork =
  149. //      {
  150. //      kxJavaMethod = wiIdlePriorityFork
  151. //      kxJavaSignature = "(S)V"
  152. //      kxPublicNames = "Idle Priority Fork" "process name" "Not Specified"
  153. //      }
  154. //
  155. //    kxPort RingBell =
  156. //      {
  157. //      kxJavaMethod = wiRingBell
  158. //      kxJavaSignature = "(II)V"
  159. //      kxPublicNames = "Ring Bell" "duration" "pitch" "Not Specified"
  160. //      }
  161. //
  162. //    kxPort GetUserName =
  163. //      {
  164. //      kxJavaMethod = wiGetUserName
  165. //      kxJavaSignature = "()S"
  166. //      kxPublicNames = "Get User Name" "Not Specified"
  167. //      }
  168. //
  169. //    kxPort GetOperatingSystem =
  170. //      {
  171. //      kxJavaMethod = wiGetOperatingSystem
  172. //      kxJavaSignature = "()S"
  173. //      kxPublicNames = "Get Operating System" "Not Specified"
  174. //      }
  175. //    kxPort GetFreeVirtualMemory =
  176. //      {
  177. //      kxJavaMethod = wiGetFreeVirtualMemory
  178. //      kxJavaSignature = "()I"
  179. //      kxPublicNames = "Get Free Virtual Memory" "Not Specified"
  180. //      }
  181. //
  182. //    kxPort GetFreePhysicalMemory =
  183. //      {
  184. //      kxJavaMethod = wiGetFreePhysicalMemory
  185. //      kxJavaSignature = "()I"
  186. //      kxPublicNames = "Get Free Physical Memory" "Not Specified"
  187. //      }
  188. //
  189. //    kxPort Resettodefault =
  190. //      {
  191. //      kxJavaMethod = wiResettodefault
  192. //      kxJavaSignature = "()V"
  193. //      kxPublicNames = "Reset to default" "Not Specified"
  194. //      }
  195. //
  196. //    kxPort ChangePalette =
  197. //      {
  198. //      kxJavaMethod = wiChangePalette
  199. //      kxJavaSignature = "(LHwURL;)V"
  200. //      kxPublicNames = "Change Palette" "file name" "Not Specified"
  201. //      }
  202. //
  203. //    kxPort GetPaletteFileName =
  204. //      {
  205. //      kxJavaMethod = wiGetPaletteFileName
  206. //      kxJavaSignature = "()V"
  207. //      kxPublicNames = "Get Palette File Name" "Not Specified"
  208. //      }
  209. //
  210. //    kxPort GetOpusInternalBitsPixel =
  211. //      {
  212. //      kxJavaMethod = wiGetOpusInternalBitsPixel
  213. //      kxJavaSignature = "()I"
  214. //      kxPublicNames = "Get Opus Internal Bits/Pixel" "Not Specified"
  215. //      }
  216. //
  217. //    kxPort GetDisplayNumberofBitsPixel =
  218. //      {
  219. //      kxJavaMethod = wiGetDisplayNumberofBitsPixel
  220. //      kxJavaSignature = "()I"
  221. //      kxPublicNames = "Get Display Number of Bits/Pixel" "Not Specified"
  222. //      }
  223. //
  224. //    kxPort GetDisplayWidth =
  225. //      {
  226. //      kxJavaMethod = wiGetDisplayWidth
  227. //      kxJavaSignature = "()I"
  228. //      kxPublicNames = "Get Display Width" "Not Specified"
  229. //      }
  230. //
  231. //    kxPort GetDisplayHeight =
  232. //      {
  233. //      kxJavaMethod = wiGetDisplayHeight
  234. //      kxJavaSignature = "()I"
  235. //      kxPublicNames = "Get Display Height" "Not Specified"
  236. //      }
  237. //
  238. //    kxPort GetDisplayDimensions =
  239. //      {
  240. //      kxJavaMethod = wiGetDisplayDimensions
  241. //      kxJavaSignature = "()LHwPoint;"
  242. //      kxPublicNames = "Get Display Dimensions" "Not Specified"
  243. //      }
  244. //
  245. //    kxPort SetCacheSize =
  246. //      {
  247. //      kxJavaMethod = wiSetCacheSize
  248. //      kxJavaSignature = "(I)V"
  249. //      kxPublicNames = "Set Cache Size" "n bytes" "Not Specified"
  250. //      }
  251. //
  252. //    kxPort GetNumberofBitmaps =
  253. //      {
  254. //      kxJavaMethod = wiGetNumberofBitmaps
  255. //      kxJavaSignature = "()I"
  256. //      kxPublicNames = "Get Number of Bitmaps" "Not Specified"
  257. //      }
  258. //
  259. //    kxPort GetMemoryFreeinCache =
  260. //      {
  261. //      kxJavaMethod = wiGetMemoryFreeinCache
  262. //      kxJavaSignature = "()I"
  263. //      kxPublicNames = "Get Memory Free in Cache" "Not Specified"
  264. //      }
  265. //
  266. //    kxPort GetCacheSize =
  267. //      {
  268. //      kxJavaMethod = wiGetCacheSize
  269. //      kxJavaSignature = "()I"
  270. //      kxPublicNames = "Get Cache Size" "Not Specified"
  271. //      }
  272. //
  273. //    kxPort FlushDiscardableBitmaps =
  274. //      {
  275. //      kxJavaMethod = wiFlushDiscardableBitmaps
  276. //      kxJavaSignature = "()V"
  277. //      kxPublicNames = "Flush Discardable Bitmaps" "Not Specified"
  278. //      }
  279. //
  280.     kxPort TerminateApplication =
  281.       {
  282.       kxJavaMethod = wiTerminateApplication
  283.       kxJavaSignature = "()V"
  284.       kxPublicNames = "Terminate" "Not Specified"
  285.       }
  286. //
  287. //    kxPort GetKeyState =
  288. //      {
  289. //      kxJavaMethod = wiGetKeyState
  290. //      kxJavaSignature = "(I)I"
  291. //      kxPublicNames = "Get Key State" "key code" "Not Specified"
  292. //      }
  293.     }
  294.  
  295.  
  296.   kxInputPortsMenu =
  297.     {
  298.     Reset
  299.     kxSeparator
  300. //    GarbageCollect
  301. //    GetKeyState
  302.     TerminateApplication
  303.  
  304.     IsActive
  305.     GetDocBase
  306.     GetCodeBase
  307.     GetParameter
  308.     ShowStatus
  309.     ShowDocument
  310.  
  311.     kxMenu "More" =
  312.       {
  313.       kxInclude "Basic.imn"
  314.         kxSeparator
  315. //      kxMenu "Bitmap Cache" =
  316. //        {
  317. //        FlushDiscardableBitmaps
  318. //        GetCacheSize
  319. //        GetMemoryFreeinCache
  320. //        GetNumberofBitmaps
  321. //        SetCacheSize
  322. //        }
  323. //      kxMenu "Display" =
  324. //        {
  325. //        GetDisplayDimensions
  326. //        GetDisplayHeight
  327. //        GetDisplayWidth
  328. //        GetDisplayNumberofBitsPixel
  329. //        GetOpusInternalBitsPixel
  330. //        }
  331. //      kxMenu "Palette" =
  332. //        {
  333. //        GetPaletteFileName
  334. //        ChangePalette
  335. //        Resettodefault
  336. //        }
  337.       kxMenu "System" =
  338.         {
  339. //        GetFreePhysicalMemory
  340. //        GetFreeVirtualMemory
  341.         GetSystemMilliseconds
  342. //        GetOperatingSystem
  343. //        GetUserName
  344. //        RingBell
  345.         }
  346. //      kxMenu "Process" =
  347. //        {
  348. //        IdlePriorityFork
  349. //        BackgroundPriorityFork
  350. //        LowPriorityFork
  351. //        NormalPriorityFork
  352. //        HighPriorityFork
  353. //        RealTimePriorityFork
  354. //        TopPriorityFork
  355. //        NamedProcessTerminate
  356. //        TerminateAll
  357. //        GetProcessNames
  358. //        }
  359.       kxMenu "Message Log" =
  360.         {
  361.         WriteString
  362.         WriteStringCR
  363.         WriteObject
  364.         WriteObjectCR
  365.         WriteCR
  366.         WriteTimeStamp
  367.         }
  368.             kxMenu "Inter-Applet Communication" =
  369.                 {
  370.                 EvalExtPort0
  371.                 EvalExtPort1
  372.                 EvalExtPort2
  373.                 EvalExtPort3
  374.                 }
  375.         kxMenu "Document Navigation" =
  376.           {
  377.           ShowDocument
  378.           ShowDocumentInTarget
  379.           ShowDocumentInFrame
  380.           ShowDocumentInParentFrame
  381.           ShowDocumentInTopFrame
  382.           }
  383.       }
  384.     }
  385.  
  386.  
  387.   kxOutputPorts =
  388.     {
  389.     kxPort Init =
  390.       {
  391.       kxJavaSignature = "()V"
  392.       kxPublicNames = "Initialize" "None"
  393.       }
  394.  
  395.     kxPort Start =
  396.       {
  397.       kxJavaSignature = "()V"
  398.       kxPublicNames = "Start" "None"
  399.       }
  400.  
  401.     kxPort Stop =
  402.       {
  403.       kxJavaSignature = "()V"
  404.       kxPublicNames = "Stop" "None"
  405.       }
  406.     }
  407.  
  408.  
  409.   kxOutputPortsMenu =
  410.     {
  411.     Init
  412.     Start
  413.     Stop
  414.     }
  415.   }
  416.